Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 6 - Telephone Tools / Telephone Tools Reference
Data Structures


Terminal Message Parameter Block

Your telephone tool passes a pointer to a terminal message parameter block when sending messages about a telephone terminal. The terminal message parameter block is defined by the TELTermMsgPB data type.

struct TELTermMsgPB {
   short                   toolID;
   short                   tRef;
   long                    msg;
   short                   mtype;
   short                   value;
};
typedef struct TELTermMsgPB TELTermMsgPB;
Field Description
toolID
The tool ID of your telephone tool.
tRef
The reference number of a telephone terminal. Your telephone tool assigns this number when the terminal is opened. You should not change this number as long as the terminal is open.
msg
The message your tool is sending to the Telephone Manager.
mtype
A message type. The value in this field varies according to the message specified in the msg field. See the description of each particular message for information about this field.
value
A message value. The value in this field varies according to the message specified in the msg field. See the description of each particular message for information about this field.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help